import { useTitle } from "@reactuses/core"

import { RouterProvider } from "react-router-dom"
import { appName, appRouter } from "./routes"

const AppRouter = () => {
  useTitle(appName)

  return <RouterProvider router={appRouter} />
}

export default AppRouter
